home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 4 / BBS in a Box - Macintosh - Volume IV (January 1992) (BBS in a Box).iso / Files / Word / E-G / EGREP15.CPT / egrep-1.5 / grep-src / gff.c < prev    next >
MacBinary  |  1991-08-29  |  5.6 KB  |  [TEXT/MPS ]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
66% dexvert Compact Compressed (Unix) (archive/compact) ext Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
10% dexvert Jesper Olsen Module (music/jesperOlsen) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Wed Aug 28 22:45:00 1991, modified Wed Aug 28 22:45:00 1991, creator 'MPS ', type ASCII, 4935 bytes "gff.c" , at 0x13c7 538 bytes resource default (weak)
99% file data default
49% TrID Macintosh plain text (MacBinary) default
33% TrID TTComp archive compressed (bin-2K) default (weak)
16% TrID MacBinary 2 default (weak)
0% TrID Sybase iAnywhere database files default (weak)
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[MPS ]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 05 67 66 66 2e 63 00 | 00 00 00 00 00 00 00 00 |..gff.c.|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 50 53 | 20 01 00 00 00 00 00 00 |.TEXTMPS| .......|
|00000050| 00 00 00 00 00 13 47 00 | 00 02 1a a4 e2 10 2c a4 |......G.|......,.|
|00000060| e2 10 2c 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |..,.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 f5 4d 00 00 |........|.....M..|
|00000080| 2f 2a 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |/*______|________|
|00000090| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|000000a0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|000000b0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|000000c0| 5f 5f 5f 5f 5f 5f 5f 5f | 0d 0d 09 67 66 66 2e 63 |________|...gff.c|
|000000d0| 20 2d 20 47 65 74 20 46 | 69 6c 65 20 6f 72 20 46 | - Get F|ile or F|
|000000e0| 6f 6c 64 65 72 2e 0d 09 | 0d 09 43 6f 70 79 72 69 |older...|..Copyri|
|000000f0| 67 68 74 20 a9 20 31 39 | 38 38 2c 20 31 39 38 39 |ght . 19|88, 1989|
|00000100| 2c 20 31 39 39 30 20 4e | 6f 72 74 68 77 65 73 74 |, 1990 N|orthwest|
|00000110| 65 72 6e 20 55 6e 69 76 | 65 72 73 69 74 79 2e 20 |ern Univ|ersity. |
|00000120| 20 50 65 72 6d 69 73 73 | 69 6f 6e 20 69 73 20 67 | Permiss|ion is g|
|00000130| 72 61 6e 74 65 64 0d 09 | 74 6f 20 75 73 65 20 74 |ranted..|to use t|
|00000140| 68 69 73 20 63 6f 64 65 | 20 69 6e 20 79 6f 75 72 |his code| in your|
|00000150| 20 6f 77 6e 20 70 72 6f | 6a 65 63 74 73 2c 20 70 | own pro|jects, p|
|00000160| 72 6f 76 69 64 65 64 20 | 79 6f 75 20 67 69 76 65 |rovided |you give|
|00000170| 20 63 72 65 64 69 74 20 | 74 6f 20 62 6f 74 68 0d | credit |to both.|
|00000180| 09 4a 6f 68 6e 20 4e 6f | 72 73 74 61 64 20 61 6e |.John No|rstad an|
|00000190| 64 20 4e 6f 72 74 68 77 | 65 73 74 65 72 6e 20 55 |d Northw|estern U|
|000001a0| 6e 69 76 65 72 73 69 74 | 79 20 69 6e 20 79 6f 75 |niversit|y in you|
|000001b0| 72 20 61 62 6f 75 74 20 | 62 6f 78 20 6f 72 20 64 |r about |box or d|
|000001c0| 6f 63 75 6d 65 6e 74 2e | 0d 09 0d 09 54 68 69 73 |ocument.|....This|
|000001d0| 20 72 65 75 73 61 62 6c | 65 20 6d 6f 64 75 6c 65 | reusabl|e module|
|000001e0| 20 70 72 65 73 65 6e 74 | 73 20 61 20 6d 6f 64 69 | present|s a modi|
|000001f0| 66 69 65 64 20 73 74 61 | 6e 64 61 72 64 20 6f 70 |fied sta|ndard op|
|00000200| 65 6e 20 66 69 6c 65 20 | 64 69 61 6c 6f 67 2e 0d |en file |dialog..|
|00000210| 09 54 68 65 72 65 20 61 | 72 65 20 74 77 6f 20 65 |.There a|re two e|
|00000220| 78 74 72 61 20 62 75 74 | 74 6f 6e 73 20 77 68 69 |xtra but|tons whi|
|00000230| 63 68 20 63 61 6e 20 62 | 65 20 75 73 65 64 20 74 |ch can b|e used t|
|00000240| 6f 20 70 69 63 6b 20 61 | 20 66 6f 6c 64 65 72 20 |o pick a| folder |
|00000250| 69 6e 73 74 65 61 64 0d | 09 6f 66 20 61 20 66 69 |instead.|.of a fi|
|00000260| 6c 65 2e 20 20 0d 09 0d | 09 54 68 65 20 63 61 6c |le. ...|.The cal|
|00000270| 6c 65 72 20 73 75 70 70 | 6c 69 65 73 20 74 68 65 |ler supp|lies the|
|00000280| 20 69 64 20 6f 66 20 74 | 68 65 20 64 69 61 6c 6f | id of t|he dialo|
|00000290| 67 20 74 6f 20 62 65 20 | 75 73 65 64 2e 20 20 49 |g to be |used. I|
|000002a0| 74 20 6d 75 73 74 20 62 | 65 20 61 20 0d 09 73 74 |t must b|e a ..st|
|000002b0| 61 6e 64 61 72 64 20 6f | 70 65 6e 20 66 69 6c 65 |andard o|pen file|
|000002c0| 20 64 69 61 6c 6f 67 20 | 77 69 74 68 20 74 77 6f | dialog |with two|
|000002d0| 20 61 64 64 69 74 69 6f | 6e 61 6c 20 62 75 74 74 | additio|nal butt|
|000002e0| 6f 6e 73 3a 0d 09 0d 09 | 69 74 65 6d 20 31 31 20 |ons:....|item 11 |
|000002f0| 3d 20 53 65 6c 65 63 74 | 20 63 75 72 72 65 6e 74 |= Select| current|
|00000300| 20 66 6f 6c 64 65 72 20 | 62 75 74 74 6f 6e 2e 0d | folder |button..|
|00000310| 09 69 74 65 6d 20 31 32 | 20 3d 20 46 6f 6c 64 65 |.item 12| = Folde|
|00000320| 72 20 62 75 74 74 6f 6e | 2e 0d 5f 5f 5f 5f 5f 5f |r button|..______|
|00000330| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000340| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000350| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000360| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 2a |________|_______*|
|00000370| 2f 0d 0d 23 69 6e 63 6c | 75 64 65 20 3c 4d 61 63 |/..#incl|ude <Mac|
|00000380| 20 23 69 6e 63 6c 75 64 | 65 73 2e 63 3e 0d 23 69 | #includ|es.c>.#i|
|00000390| 6e 63 6c 75 64 65 20 22 | 67 66 66 2e 68 22 0d 0d |nclude "|gff.h"..|
|000003a0| 2f 2a 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |/*______|________|
|000003b0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|000003c0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|000003d0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|000003e0| 5f 5f 5f 5f 5f 5f 5f 5f | 0d 0d 09 43 6f 6e 73 74 |________|...Const|
|000003f0| 61 6e 74 20 44 65 66 69 | 6e 69 74 69 6f 6e 73 2e |ant Defi|nitions.|
|00000400| 0d 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |._______|________|
|00000410| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000420| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000430| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000440| 5f 5f 5f 5f 5f 5f 2a 2f | 0d 0d 0d 23 64 65 66 69 |______*/|...#defi|
|00000450| 6e 65 20 67 65 74 53 43 | 46 6f 6c 64 09 09 31 31 |ne getSC|Fold..11|
|00000460| 09 09 09 2f 2a 20 69 74 | 65 6d 20 6e 75 6d 62 65 |.../* it|em numbe|
|00000470| 72 20 6f 66 20 73 65 6c | 65 63 74 20 63 75 72 72 |r of sel|ect curr|
|00000480| 65 6e 74 20 66 6f 6c 64 | 65 72 20 0d 09 09 09 09 |ent fold|er .....|
|00000490| 09 09 09 09 09 09 09 62 | 75 74 74 6f 6e 20 2a 2f |.......b|utton */|
|000004a0| 0d 23 64 65 66 69 6e 65 | 20 67 65 74 46 6f 6c 64 |.#define| getFold|
|000004b0| 09 09 31 32 09 09 09 2f | 2a 20 69 74 65 6d 20 6e |..12.../|* item n|
|000004c0| 75 6d 62 65 72 20 6f 66 | 20 66 6f 6c 64 65 72 20 |umber of| folder |
|000004d0| 62 75 74 74 6f 6e 2e 20 | 2a 2f 0d 0d 0d 0d 0d 2f |button. |*/...../|
|000004e0| 2a 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |*_______|________|
|000004f0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000500| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000510| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000520| 5f 5f 5f 5f 5f 5f 5f 0d | 0d 09 47 6c 6f 62 61 6c |_______.|..Global|
|00000530| 20 56 61 72 69 61 62 6c | 65 73 2e 0d 5f 5f 5f 5f | Variabl|es..____|
|00000540| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000550| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000560| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000570| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000580| 5f 2a 2f 0d 0d 0d 73 74 | 61 74 69 63 20 53 46 52 |_*/...st|atic SFR|
|00000590| 65 70 6c 79 09 09 2a 52 | 65 70 6c 79 3b 09 09 09 |eply..*R|eply;...|
|000005a0| 09 2f 2a 20 70 6f 69 6e | 74 65 72 20 74 6f 20 72 |./* poin|ter to r|
|000005b0| 65 70 6c 79 20 72 65 63 | 6f 72 64 20 2a 2f 0d 73 |eply rec|ord */.s|
|000005c0| 74 61 74 69 63 20 42 6f | 6f 6c 65 61 6e 09 09 46 |tatic Bo|olean..F|
|000005d0| 6f 6c 64 65 72 41 63 74 | 69 76 65 3b 09 09 2f 2a |olderAct|ive;../*|
|000005e0| 20 74 72 75 65 20 69 66 | 20 66 6f 6c 64 65 72 20 | true if| folder |
|000005f0| 62 75 74 74 6f 6e 20 69 | 73 20 61 63 74 69 76 65 |button i|s active|
|00000600| 20 2a 2f 0d 73 74 61 74 | 69 63 20 73 68 6f 72 74 | */.stat|ic short|
|00000610| 09 09 49 74 65 6d 3b 09 | 09 09 09 09 2f 2a 20 69 |..Item;.|..../* i|
|00000620| 74 65 6d 20 6e 75 6d 62 | 65 72 20 6f 66 20 73 65 |tem numb|er of se|
|00000630| 6c 65 63 74 65 64 20 69 | 74 65 6d 20 2a 2f 0d 73 |lected i|tem */.s|
|00000640| 74 61 74 69 63 20 4f 53 | 54 79 70 65 09 09 44 69 |tatic OS|Type..Di|
|00000650| 72 49 44 3b 09 09 09 09 | 2f 2a 20 64 69 72 20 69 |rID;....|/* dir i|
|00000660| 64 20 6f 66 20 73 65 6c | 65 63 74 65 64 20 66 6f |d of sel|ected fo|
|00000670| 6c 64 65 72 20 2a 2f 0d | 0d 0d 2f 2a 5f 5f 5f 5f |lder */.|../*____|
|00000680| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000690| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|000006a0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|000006b0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|000006c0| 5f 5f 0d 0d 09 48 69 6c | 69 74 65 46 6f 6c 64 65 |__...Hil|iteFolde|
|000006d0| 72 42 75 74 74 6f 6e 20 | 2d 20 48 69 6c 69 74 65 |rButton |- Hilite|
|000006e0| 20 74 68 65 20 46 6f 6c | 64 65 72 20 42 75 74 74 | the Fol|der Butt|
|000006f0| 6f 6e 2e 0d 09 0d 09 45 | 6e 74 72 79 3a 09 74 68 |on.....E|ntry:.th|
|00000700| 65 44 69 61 6c 6f 67 20 | 3d 20 70 6f 69 6e 74 65 |eDialog |= pointe|
|00000710| 72 20 74 6f 20 64 69 61 | 6c 6f 67 2e 0d 09 09 09 |r to dia|log.....|
|00000720| 09 61 63 74 69 76 65 20 | 3d 20 74 72 75 65 20 74 |.active |= true t|
|00000730| 6f 20 6d 61 6b 65 20 62 | 75 74 74 6f 6e 20 61 63 |o make b|utton ac|
|00000740| 74 69 76 65 2c 20 66 61 | 6c 73 65 20 74 6f 20 6d |tive, fa|lse to m|
|00000750| 61 6b 65 20 69 74 20 69 | 6e 61 63 61 74 69 76 65 |ake it i|nacative|
|00000760| 2e 0d 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |..______|________|
|00000770| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000780| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000790| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|000007a0| 5f 5f 5f 5f 5f 5f 5f 2a | 2f 0d 0d 0d 73 74 61 74 |_______*|/...stat|
|000007b0| 69 63 20 76 6f 69 64 20 | 48 69 6c 69 74 65 46 6f |ic void |HiliteFo|
|000007c0| 6c 64 65 72 42 75 74 74 | 6f 6e 20 28 44 69 61 6c |lderButt|on (Dial|
|000007d0| 6f 67 50 74 72 20 74 68 | 65 44 69 61 6c 6f 67 2c |ogPtr th|eDialog,|
|000007e0| 20 42 6f 6f 6c 65 61 6e | 20 61 63 74 69 76 65 29 | Boolean| active)|
|000007f0| 0d 0d 7b 0d 09 73 68 6f | 72 74 09 09 09 09 69 74 |..{..sho|rt....it|
|00000800| 65 6d 54 79 70 65 3b 09 | 09 09 2f 2a 20 69 74 65 |emType;.|../* ite|
|00000810| 6d 20 74 79 70 65 20 2a | 2f 0d 09 48 61 6e 64 6c |m type *|/..Handl|
|00000820| 65 09 09 09 69 74 65 6d | 3b 09 09 09 09 09 2f 2a |e...item|;...../*|
|00000830| 20 68 61 6e 64 6c 65 20 | 74 6f 20 69 74 65 6d 20 | handle |to item |
|00000840| 2a 2f 0d 09 52 65 63 74 | 09 09 09 09 62 6f 78 3b |*/..Rect|....box;|
|00000850| 09 09 09 09 09 2f 2a 20 | 69 74 65 6d 20 72 65 63 |...../* |item rec|
|00000860| 74 61 6e 67 6c 65 20 2a | 2f 0d 0d 09 47 65 74 44 |tangle *|/...GetD|
|00000870| 49 74 65 6d 28 74 68 65 | 44 69 61 6c 6f 67 2c 20 |Item(the|Dialog, |
|00000880| 67 65 74 46 6f 6c 64 2c | 20 26 69 74 65 6d 54 79 |getFold,| &itemTy|
|00000890| 70 65 2c 20 26 69 74 65 | 6d 2c 20 26 62 6f 78 29 |pe, &ite|m, &box)|
|000008a0| 3b 0d 09 48 69 6c 69 74 | 65 43 6f 6e 74 72 6f 6c |;..Hilit|eControl|
|000008b0| 28 28 43 6f 6e 74 72 6f | 6c 48 61 6e 64 6c 65 29 |((Contro|lHandle)|
|000008c0| 69 74 65 6d 2c 20 61 63 | 74 69 76 65 20 3f 20 30 |item, ac|tive ? 0|
|000008d0| 20 3a 20 32 35 35 29 3b | 0d 09 46 6f 6c 64 65 72 | : 255);|..Folder|
|000008e0| 41 63 74 69 76 65 20 3d | 20 61 63 74 69 76 65 3b |Active =| active;|
|000008f0| 0d 7d 0d 0c 0d 2f 2a 5f | 5f 5f 5f 5f 5f 5f 5f 5f |.}.../*_|________|
|00000900| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000910| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000920| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000930| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 0d 0d 09 |________|_____...|
|00000940| 4d 79 48 6f 6f 6b 20 2d | 20 53 46 50 47 65 74 46 |MyHook -| SFPGetF|
|00000950| 69 6c 65 20 44 69 61 6c | 6f 67 20 48 6f 6f 6b 2e |ile Dial|og Hook.|
|00000960| 0d 09 0d 09 45 6e 74 72 | 79 3a 09 69 74 65 6d 20 |....Entr|y:.item |
|00000970| 3d 20 69 74 65 6d 20 6e | 75 6d 62 65 72 20 6f 66 |= item n|umber of|
|00000980| 20 73 65 6c 65 63 74 65 | 64 20 69 74 65 6d 2e 0d | selecte|d item..|
|00000990| 09 09 09 09 74 68 65 44 | 69 61 6c 6f 67 20 3d 20 |....theD|ialog = |
|000009a0| 70 6f 69 6e 74 65 72 20 | 74 6f 20 64 69 61 6c 6f |pointer |to dialo|
|000009b0| 67 2e 0d 09 09 09 09 0d | 09 45 78 69 74 3a 09 09 |g.......|.Exit:..|
|000009c0| 66 75 6e 63 74 69 6f 6e | 20 72 65 73 75 6c 74 20 |function| result |
|000009d0| 3d 20 69 74 65 6d 20 6e | 75 6d 62 65 72 20 6f 66 |= item n|umber of|
|000009e0| 20 73 65 6c 65 63 74 65 | 64 20 69 74 65 6d 2e 0d | selecte|d item..|
|000009f0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000a00| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000a10| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000a20| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000a30| 5f 5f 5f 5f 5f 2a 2f 0d | 0d 0d 70 61 73 63 61 6c |_____*/.|..pascal|
|00000a40| 20 73 68 6f 72 74 20 4d | 79 48 6f 6f 6b 20 28 73 | short M|yHook (s|
|00000a50| 68 6f 72 74 20 69 74 65 | 6d 2c 20 44 69 61 6c 6f |hort ite|m, Dialo|
|00000a60| 67 50 74 72 20 74 68 65 | 44 69 61 6c 6f 67 29 0d |gPtr the|Dialog).|
|00000a70| 0d 7b 0d 09 49 74 65 6d | 20 3d 20 69 74 65 6d 3b |.{..Item| = item;|
|00000a80| 0d 0d 09 2f 2a 20 48 69 | 6c 69 74 65 20 74 68 65 |.../* Hi|lite the|
|00000a90| 20 46 6f 6c 64 65 72 20 | 62 75 74 74 6f 6e 20 69 | Folder |button i|
|00000aa0| 66 66 20 61 20 66 6f 6c | 64 65 72 20 69 73 20 63 |ff a fol|der is c|
|00000ab0| 75 72 72 65 6e 74 6c 79 | 20 73 65 6c 65 63 74 65 |urrently| selecte|
|00000ac0| 64 2e 20 2a 2f 0d 0d 09 | 69 66 20 28 21 2a 28 52 |d. */...|if (!*(R|
|00000ad0| 65 70 6c 79 2d 3e 66 4e | 61 6d 65 29 20 26 26 20 |eply->fN|ame) && |
|00000ae0| 52 65 70 6c 79 2d 3e 66 | 54 79 70 65 29 20 7b 0d |Reply->f|Type) {.|
|00000af0| 09 09 69 66 20 28 21 46 | 6f 6c 64 65 72 41 63 74 |..if (!F|olderAct|
|00000b00| 69 76 65 29 20 48 69 6c | 69 74 65 46 6f 6c 64 65 |ive) Hil|iteFolde|
|00000b10| 72 42 75 74 74 6f 6e 28 | 74 68 65 44 69 61 6c 6f |rButton(|theDialo|
|00000b20| 67 2c 20 74 72 75 65 29 | 3b 0d 09 7d 20 65 6c 73 |g, true)|;..} els|
|00000b30| 65 20 7b 0d 09 09 69 66 | 20 28 46 6f 6c 64 65 72 |e {...if| (Folder|
|00000b40| 41 63 74 69 76 65 29 20 | 48 69 6c 69 74 65 46 6f |Active) |HiliteFo|
|00000b50| 6c 64 65 72 42 75 74 74 | 6f 6e 28 74 68 65 44 69 |lderButt|on(theDi|
|00000b60| 61 6c 6f 67 2c 20 66 61 | 6c 73 65 29 3b 0d 09 7d |alog, fa|lse);..}|
|00000b70| 3b 0d 09 0d 09 2f 2a 20 | 43 68 65 63 6b 20 66 6f |;..../* |Check fo|
|00000b80| 72 20 6f 75 72 20 74 77 | 6f 20 61 64 64 69 74 69 |r our tw|o additi|
|00000b90| 6f 6e 61 6c 20 62 75 74 | 74 6f 6e 73 2e 20 20 49 |onal but|tons. I|
|00000ba0| 66 20 65 69 74 68 65 72 | 20 6f 6e 65 20 77 61 73 |f either| one was|
|00000bb0| 20 73 65 6c 65 63 74 65 | 64 0d 09 09 70 72 65 74 | selecte|d...pret|
|00000bc0| 65 6e 64 20 74 68 65 20 | 43 61 6e 63 65 6c 20 62 |end the |Cancel b|
|00000bd0| 75 74 74 6f 6e 20 77 61 | 73 20 73 65 6c 65 63 74 |utton wa|s select|
|00000be0| 65 64 20 74 6f 20 66 6f | 72 63 65 20 53 46 50 47 |ed to fo|rce SFPG|
|00000bf0| 65 74 46 69 6c 65 20 74 | 6f 20 72 65 74 75 72 6e |etFile t|o return|
|00000c00| 2e 20 2a 2f 0d 09 0d 09 | 69 66 20 28 69 74 65 6d |. */....|if (item|
|00000c10| 20 3d 3d 20 67 65 74 53 | 43 46 6f 6c 64 29 20 72 | == getS|CFold) r|
|00000c20| 65 74 75 72 6e 20 67 65 | 74 43 61 6e 63 65 6c 3b |eturn ge|tCancel;|
|00000c30| 0d 09 69 66 20 28 69 74 | 65 6d 20 3d 3d 20 67 65 |..if (it|em == ge|
|00000c40| 74 46 6f 6c 64 29 20 7b | 0d 09 09 44 69 72 49 44 |tFold) {|...DirID|
|00000c50| 20 3d 20 52 65 70 6c 79 | 2d 3e 66 54 79 70 65 3b | = Reply|->fType;|
|00000c60| 0d 09 09 72 65 74 75 72 | 6e 20 67 65 74 43 61 6e |...retur|n getCan|
|00000c70| 63 65 6c 3b 0d 09 7d 3b | 0d 09 0d 09 2f 2a 20 46 |cel;..};|..../* F|
|00000c80| 6f 72 20 61 6c 6c 20 6f | 74 68 65 72 20 62 75 74 |or all o|ther but|
|00000c90| 74 6f 6e 73 20 64 6f 20 | 6e 6f 74 68 69 6e 67 2e |tons do |nothing.|
|00000ca0| 20 2a 2f 0d 09 0d 09 72 | 65 74 75 72 6e 20 69 74 | */....r|eturn it|
|00000cb0| 65 6d 3b 0d 7d 0d 0c 0d | 2f 2a 5f 5f 5f 5f 5f 5f |em;.}...|/*______|
|00000cc0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000cd0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000ce0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000cf0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000d00| 0d 0d 09 67 66 66 5f 67 | 65 74 20 2d 20 47 65 74 |...gff_g|et - Get|
|00000d10| 20 46 69 6c 65 20 6f 72 | 20 46 6f 6c 64 65 72 0d | File or| Folder.|
|00000d20| 09 0d 09 45 6e 74 72 79 | 3a 09 77 68 65 72 65 20 |...Entry|:.where |
|00000d30| 3d 20 70 6f 69 6e 74 65 | 72 20 74 6f 20 6c 6f 63 |= pointe|r to loc|
|00000d40| 61 74 69 6f 6e 20 6f 66 | 20 74 6f 70 20 6c 65 66 |ation of| top lef|
|00000d50| 74 20 63 6f 72 6e 65 72 | 20 6f 66 20 64 69 61 6c |t corner| of dial|
|00000d60| 6f 67 2c 20 69 6e 20 0d | 09 09 09 09 09 67 6c 6f |og, in .|.....glo|
|00000d70| 62 61 6c 20 63 6f 6f 72 | 64 73 2e 0d 09 09 09 09 |bal coor|ds......|
|00000d80| 70 72 6f 6d 70 74 20 3d | 20 70 72 6f 6d 70 74 20 |prompt =| prompt |
|00000d90| 73 74 72 69 6e 67 2e 0d | 09 09 09 09 66 69 6c 65 |string..|....file|
|00000da0| 46 69 6c 74 65 72 20 3d | 20 66 69 6c 65 20 73 65 |Filter =| file se|
|00000db0| 6c 65 63 74 69 6f 6e 20 | 66 69 6c 74 65 72 20 70 |lection |filter p|
|00000dc0| 72 6f 63 65 64 75 72 65 | 2e 0d 09 09 09 09 6e 75 |rocedure|......nu|
|00000dd0| 6d 54 79 70 65 73 20 3d | 20 6e 75 6d 62 65 72 20 |mTypes =| number |
|00000de0| 6f 66 20 66 69 6c 65 20 | 74 79 70 65 73 2e 0d 09 |of file |types...|
|00000df0| 09 09 09 74 79 70 65 4c | 69 73 74 20 3d 20 61 72 |...typeL|ist = ar|
|00000e00| 72 61 79 20 6f 66 20 66 | 69 6c 65 20 74 79 70 65 |ray of f|ile type|
|00000e10| 73 2e 0d 09 09 09 09 72 | 65 70 6c 79 20 3d 20 70 |s......r|eply = p|
|00000e20| 6f 69 6e 74 65 72 20 74 | 6f 20 73 74 61 6e 64 61 |ointer t|o standa|
|00000e30| 72 64 20 66 69 6c 65 20 | 70 61 63 6b 61 67 65 20 |rd file |package |
|00000e40| 72 65 70 6c 79 20 72 65 | 63 6f 72 64 2e 0d 09 09 |reply re|cord....|
|00000e50| 09 09 64 6c 67 49 44 20 | 3d 20 64 69 61 6c 6f 67 |..dlgID |= dialog|
|00000e60| 20 72 65 73 6f 75 72 63 | 65 20 69 64 2e 0d 09 09 | resourc|e id....|
|00000e70| 09 09 0d 09 45 78 69 74 | 3a 09 09 72 65 70 6c 79 |....Exit|:..reply|
|00000e80| 2d 3e 67 6f 6f 64 20 3d | 20 74 72 75 65 20 69 66 |->good =| true if|
|00000e90| 20 73 6f 6d 65 74 68 69 | 6e 67 20 73 65 6c 65 63 | somethi|ng selec|
|00000ea0| 74 65 64 2e 0d 09 09 09 | 09 0d 09 09 09 09 69 66 |ted.....|......if|
|00000eb0| 20 61 20 66 69 6c 65 20 | 77 61 73 20 73 65 6c 65 | a file |was sele|
|00000ec0| 63 74 65 64 3a 0d 09 09 | 09 09 0d 09 09 09 09 72 |cted:...|.......r|
|00000ed0| 65 70 6c 79 2d 3e 76 52 | 65 66 4e 75 6d 20 3d 20 |eply->vR|efNum = |
|00000ee0| 76 6f 6c 20 72 65 66 20 | 6e 75 6d 20 6f 72 20 77 |vol ref |num or w|
|00000ef0| 6f 72 6b 69 6e 67 20 64 | 69 72 65 63 74 6f 72 79 |orking d|irectory|
|00000f00| 20 72 65 66 20 6e 75 6d | 20 6f 66 20 0d 09 09 09 | ref num| of ....|
|00000f10| 09 09 76 6f 6c 75 6d 65 | 20 6f 72 20 64 69 72 65 |..volume| or dire|
|00000f20| 63 74 6f 72 79 20 74 68 | 61 74 20 63 6f 6e 74 61 |ctory th|at conta|
|00000f30| 69 6e 73 20 74 68 65 20 | 66 69 6c 65 2e 0d 09 09 |ins the |file....|
|00000f40| 09 09 72 65 70 6c 79 2d | 3e 76 65 72 73 69 6f 6e |..reply-|>version|
|00000f50| 20 3d 20 76 6f 6c 20 72 | 65 66 20 6e 75 6d 20 6f | = vol r|ef num o|
|00000f60| 66 20 76 6f 6c 75 6d 65 | 20 74 68 61 74 20 63 6f |f volume| that co|
|00000f70| 6e 74 61 69 6e 73 20 74 | 68 65 20 66 69 6c 65 2e |ntains t|he file.|
|00000f80| 0d 09 09 09 09 72 65 70 | 6c 79 2d 3e 66 4e 61 6d |.....rep|ly->fNam|
|00000f90| 65 20 3d 20 6e 61 6d 65 | 20 6f 66 20 74 68 65 20 |e = name| of the |
|00000fa0| 66 69 6c 65 2e 0d 09 09 | 09 09 0d 09 09 09 09 69 |file....|.......i|
|00000fb0| 66 20 61 20 66 6f 6c 64 | 65 72 20 77 61 73 20 73 |f a fold|er was s|
|00000fc0| 65 6c 65 63 74 65 64 3a | 0d 09 09 09 09 0d 09 09 |elected:|........|
|00000fd0| 09 09 72 65 70 6c 79 2d | 3e 76 52 65 66 4e 75 6d |..reply-|>vRefNum|
|00000fe0| 20 3d 20 76 52 65 66 4e | 75 6d 20 6f 66 20 76 6f | = vRefN|um of vo|
|00000ff0| 6c 75 6d 65 20 63 6f 6e | 74 61 69 6e 69 6e 67 20 |lume con|taining |
|00001000| 66 6f 6c 64 65 72 2e 0d | 09 09 09 09 72 65 70 6c |folder..|....repl|
|00001010| 79 2d 3e 66 54 79 70 65 | 20 3d 20 64 69 72 65 63 |y->fType| = direc|
|00001020| 74 6f 72 79 20 69 64 20 | 6f 66 20 66 6f 6c 64 65 |tory id |of folde|
|00001030| 72 2e 0d 09 09 09 09 72 | 65 70 6c 79 2d 3e 66 4e |r......r|eply->fN|
|00001040| 61 6d 65 20 3d 20 65 6d | 70 74 79 20 73 74 72 69 |ame = em|pty stri|
|00001050| 6e 67 2e 0d 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |ng..____|________|
|00001060| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00001070| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00001080| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00001090| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 2a 2f 0d 09 09 0d 09 |________|_*/.....|
|000010a0| 09 0d 76 6f 69 64 20 67 | 66 66 5f 47 65 74 20 28 |..void g|ff_Get (|
|000010b0| 50 6f 69 6e 74 20 2a 77 | 68 65 72 65 2c 20 53 74 |Point *w|here, St|
|000010c0| 72 32 35 35 20 70 72 6f | 6d 70 74 2c 20 46 69 6c |r255 pro|mpt, Fil|
|000010d0| 65 46 69 6c 74 65 72 50 | 72 6f 63 50 74 72 20 66 |eFilterP|rocPtr f|
|000010e0| 69 6c 65 46 69 6c 74 65 | 72 2c 20 0d 09 73 68 6f |ileFilte|r, ..sho|
|000010f0| 72 74 20 6e 75 6d 54 79 | 70 65 73 2c 20 53 46 54 |rt numTy|pes, SFT|
|00001100| 79 70 65 4c 69 73 74 20 | 74 79 70 65 4c 69 73 74 |ypeList |typeList|
|00001110| 2c 20 53 46 52 65 70 6c | 79 20 2a 72 65 70 6c 79 |, SFRepl|y *reply|
|00001120| 2c 20 0d 09 73 68 6f 72 | 74 20 64 6c 67 49 44 29 |, ..shor|t dlgID)|
|00001130| 0d 0d 7b 0d 09 2f 2a 20 | 49 6e 69 74 69 61 6c 69 |..{../* |Initiali|
|00001140| 7a 65 20 67 6c 6f 62 61 | 6c 20 76 61 72 69 61 62 |ze globa|l variab|
|00001150| 6c 65 73 2e 20 2a 2f 0d | 0d 09 52 65 70 6c 79 20 |les. */.|..Reply |
|00001160| 3d 20 72 65 70 6c 79 3b | 0d 09 46 6f 6c 64 65 72 |= reply;|..Folder|
|00001170| 41 63 74 69 76 65 20 3d | 20 74 72 75 65 3b 0d 09 |Active =| true;..|
|00001180| 0d 09 2f 2a 20 43 61 6c | 6c 20 74 68 65 20 73 74 |../* Cal|l the st|
|00001190| 61 6e 64 61 72 64 20 66 | 69 6c 65 20 70 61 63 6b |andard f|ile pack|
|000011a0| 61 67 65 2e 20 2a 2f 0d | 09 0d 09 53 46 50 47 65 |age. */.|...SFPGe|
|000011b0| 74 46 69 6c 65 28 2a 77 | 68 65 72 65 2c 20 70 72 |tFile(*w|here, pr|
|000011c0| 6f 6d 70 74 2c 20 66 69 | 6c 65 46 69 6c 74 65 72 |ompt, fi|leFilter|
|000011d0| 2c 20 6e 75 6d 54 79 70 | 65 73 2c 20 74 79 70 65 |, numTyp|es, type|
|000011e0| 4c 69 73 74 2c 20 4d 79 | 48 6f 6f 6b 2c 0d 09 09 |List, My|Hook,...|
|000011f0| 72 65 70 6c 79 2c 20 64 | 6c 67 49 44 2c 20 6e 69 |reply, d|lgID, ni|
|00001200| 6c 29 3b 0d 09 0d 09 2f | 2a 20 52 65 74 75 72 6e |l);..../|* Return|
|00001210| 20 69 66 20 64 69 61 6c | 6f 67 20 63 61 6e 63 65 | if dial|og cance|
|00001220| 6c 65 64 2e 20 2a 2f 0d | 09 0d 09 69 66 20 28 49 |led. */.|...if (I|
|00001230| 74 65 6d 20 3d 3d 20 67 | 65 74 43 61 6e 63 65 6c |tem == g|etCancel|
|00001240| 29 20 72 65 74 75 72 6e | 3b 0d 09 0d 09 2f 2a 20 |) return|;..../* |
|00001250| 49 66 20 66 69 6c 65 20 | 73 65 6c 65 63 74 65 64 |If file |selected|
|00001260| 20 73 65 74 20 76 65 72 | 73 69 6f 6e 20 66 69 65 | set ver|sion fie|
|00001270| 6c 64 20 74 6f 20 76 6f | 6c 20 72 65 66 20 6e 75 |ld to vo|l ref nu|
|00001280| 6d 20 61 6e 64 20 72 65 | 74 75 72 6e 2e 20 2a 2f |m and re|turn. */|
|00001290| 0d 09 0d 09 69 66 20 28 | 72 65 70 6c 79 2d 3e 67 |....if (|reply->g|
|000012a0| 6f 6f 64 29 20 7b 0d 09 | 09 72 65 70 6c 79 2d 3e |ood) {..|.reply->|
|000012b0| 76 65 72 73 69 6f 6e 20 | 3d 20 2d 20 53 46 53 61 |version |= - SFSa|
|000012c0| 76 65 44 69 73 6b 3b 0d | 09 09 72 65 74 75 72 6e |veDisk;.|..return|
|000012d0| 3b 0d 09 7d 3b 0d 09 0d | 09 2f 2a 20 49 66 20 61 |;..};...|./* If a|
|000012e0| 20 66 6f 6c 64 65 72 20 | 77 61 73 20 73 65 6c 65 | folder |was sele|
|000012f0| 63 74 65 64 20 63 6c 65 | 61 72 20 74 68 65 20 66 |cted cle|ar the f|
|00001300| 69 6c 65 20 6e 61 6d 65 | 20 61 6e 64 20 73 65 74 |ile name| and set|
|00001310| 20 74 68 65 20 76 52 65 | 66 4e 75 6d 0d 09 09 61 | the vRe|fNum...a|
|00001320| 6e 64 20 64 69 72 65 63 | 74 6f 72 79 20 69 64 2e |nd direc|tory id.|
|00001330| 20 2a 2f 0d 09 0d 09 72 | 65 70 6c 79 2d 3e 67 6f | */....r|eply->go|
|00001340| 6f 64 20 3d 20 74 72 75 | 65 3b 0d 09 2a 28 72 65 |od = tru|e;..*(re|
|00001350| 70 6c 79 2d 3e 66 4e 61 | 6d 65 29 20 3d 20 30 3b |ply->fNa|me) = 0;|
|00001360| 0d 09 72 65 70 6c 79 2d | 3e 76 52 65 66 4e 75 6d |..reply-|>vRefNum|
|00001370| 20 3d 20 2d 20 53 46 53 | 61 76 65 44 69 73 6b 3b | = - SFS|aveDisk;|
|00001380| 0d 09 72 65 70 6c 79 2d | 3e 66 54 79 70 65 20 3d |..reply-|>fType =|
|00001390| 20 28 49 74 65 6d 20 3d | 3d 20 67 65 74 46 6f 6c | (Item =|= getFol|
|000013a0| 64 29 20 3f 20 44 69 72 | 49 44 20 3a 20 43 75 72 |d) ? Dir|ID : Cur|
|000013b0| 44 69 72 53 74 6f 72 65 | 3b 0d 09 72 65 74 75 72 |DirStore|;..retur|
|000013c0| 6e 3b 0d 7d 0d 09 09 00 | 00 00 00 00 00 00 00 00 |n;.}....|........|
|000013d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001400| 00 00 01 00 00 00 01 dc | 00 00 00 dc 00 00 00 3e |........|.......>|
|00001410| 23 64 65 66 69 6e 65 09 | 69 63 6f 6e 52 65 63 74 |#define.|iconRect|
|00001420| 09 09 09 30 09 09 09 2f | 2a 20 69 6e 78 20 69 6e |...0.../|* inx in|
|00001430| 05 67 66 66 2e 63 02 00 | 00 00 54 45 58 54 4d 50 |.gff.c..|..TEXTMP|
|00001440| 53 20 40 00 00 00 00 00 | 00 00 00 00 44 a4 00 00 |S @.....|....D...|
|00001450| 00 00 54 45 58 54 4d 50 | 53 20 40 00 00 00 00 00 |..TEXTMP|S @.....|
|00001460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001470| 00 00 a0 39 a5 ca 00 00 | 00 00 00 00 02 1a 20 6e |...9....|...... n|
|00001480| 61 6d 65 20 72 65 63 74 | 20 2a 2f 0d 23 64 65 66 |ame rect| */.#def|
|00001490| 69 6e 65 09 66 69 6c 65 | 4e 61 6d 65 52 65 63 74 |ine.file|NameRect|
|000014a0| 09 32 09 09 09 2f 2a 20 | 69 6e 78 20 69 6e 20 72 |.2.../* |inx in r|
|000014b0| 65 63 74 20 6c 69 73 74 | 20 6f 66 20 66 69 6c 65 |ect list| of file|
|000014c0| 20 6e 61 6d 65 20 72 65 | 63 74 20 2a 2f 0d 23 64 | name re|ct */.#d|
|000014d0| 65 66 69 6e 65 09 74 68 | 65 72 6d 52 65 63 74 09 |efine.th|ermRect.|
|000014e0| 09 33 09 09 09 2f 2a 20 | 69 6e 78 20 69 6e 20 72 |.3.../* |inx in r|
|000014f0| 65 63 74 20 6c 69 73 74 | 20 6f 66 20 74 68 65 72 |ect list| of ther|
|00001500| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 5f 5f 5f |...H..Mo|naco.___|
|00001510| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00001520| 0d 0d 09 52 65 7a 00 06 | 00 03 00 3b 02 26 03 02 |...Rez..|...;.&..|
|00001530| 04 24 00 3b 02 26 03 02 | 04 24 a2 a9 1d a7 00 00 |.$.;.&..|.$......|
|00001540| 07 42 00 00 07 42 00 00 | 10 b9 01 00 00 00 00 8c |.B...B..|........|
|00001550| 00 06 00 00 03 cb 00 00 | 03 cb 15 43 6f 6e 73 74 |........|...Const|
|00001560| 61 6e 74 20 44 65 66 69 | 6e 69 74 69 6f 6e 73 00 |ant Defi|nitions.|
|00001570| 00 00 0c 38 00 00 0c 38 | 07 67 66 66 5f 47 65 74 |...8...8|.gff_Get|
|00001580| 00 00 05 04 00 00 05 04 | 11 47 6c 6f 62 61 6c 20 |........|.Global |
|00001590| 56 61 72 69 61 62 6c 65 | 73 00 00 00 03 0e 00 00 |Variable|s.......|
|000015a0| 03 0e 0d 48 65 61 64 65 | 72 20 46 69 6c 65 73 00 |...Heade|r Files.|
|000015b0| 00 00 07 2c 00 00 07 2c | 13 48 69 6c 69 74 65 46 |...,...,|.HiliteF|
|000015c0| 6f 6c 64 65 72 42 75 74 | 74 6f 6e 00 00 00 09 ba |olderBut|ton.....|
|000015d0| 00 00 09 bb 07 4d 79 48 | 6f 6f 6b 00 00 00 01 00 |.....MyH|ook.....|
|000015e0| 00 00 01 dc 00 00 00 dc | 00 00 00 3e 00 28 a4 66 |........|...>.(.f|
|000015f0| 05 e2 00 00 00 1c 00 3e | 00 00 4d 50 53 52 00 01 |.......>|..MPSR..|
|00001600| 00 0a 03 ed ff ff 00 00 | 00 00 00 00 00 00 03 ef |........|........|
|00001610| ff ff 00 00 00 4c 00 00 | 00 00 00 00 00 00 00 00 |.....L..|........|
|00001620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+